package com.tjnu.baiyi.entity;

import java.sql.Timestamp;

/**
 * TbVisitor entity. @author MyEclipse Persistence Tools
 */

public class TbVisitor implements java.io.Serializable {
	private static final long serialVersionUID = -7355857334233253579L;
	private Integer id;
	private TbUser tbUserByVisitorId;
	private TbUser tbUserByUserId;
	private Timestamp visitTime;

	// Constructors

	/** default constructor */
	public TbVisitor() {
	}

	/** full constructor */
	public TbVisitor(TbUser tbUserByVisitorId, TbUser tbUserByUserId,
			Timestamp visitTime) {
		this.tbUserByVisitorId = tbUserByVisitorId;
		this.tbUserByUserId = tbUserByUserId;
		this.visitTime = visitTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TbUser getTbUserByVisitorId() {
		return this.tbUserByVisitorId;
	}

	public void setTbUserByVisitorId(TbUser tbUserByVisitorId) {
		this.tbUserByVisitorId = tbUserByVisitorId;
	}

	public TbUser getTbUserByUserId() {
		return this.tbUserByUserId;
	}

	public void setTbUserByUserId(TbUser tbUserByUserId) {
		this.tbUserByUserId = tbUserByUserId;
	}

	public Timestamp getVisitTime() {
		return this.visitTime;
	}

	public void setVisitTime(Timestamp visitTime) {
		this.visitTime = visitTime;
	}

}